package org.intertwine.rssbot;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Stian Lindhom
 * Date: 21.feb.2010
 * Time: 16:24:24
 * To change this template use File | Settings | File Templates.
 */
public class Feed implements Serializable {

    private String feedUrl;
    private String feedTitle;
    private String username;
    private String password;

    public Feed(String feedUrl) {
        this.feedUrl = feedUrl;
    }

    public Feed(String feedUrl, String feedTitle) {
        this.feedUrl = feedUrl;
        this.feedTitle = feedTitle;
    }


    public Feed(String feedUrl,String username, String password) {
        this.feedUrl = feedUrl;
        this.username = username;
        this.password = password;
    }

    public Feed(String feedUrl, String feedTitle, String username, String password) {
        this.feedUrl = feedUrl;
        this.feedTitle = feedTitle;
        this.username = username;
        this.password = password;
    }

    public String getFeedUrl() {
        return feedUrl;
    }

    public void setFeedUrl(String feedUrl) {
        this.feedUrl = feedUrl;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "org.intertwine.rssbot.Feed{" +
                "feedUrl='" + feedUrl + '\'' +
                ", feedTitle='" + feedTitle + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
